export default [
  {
    name: 'getShareCat', // 接口名称
    method: 'POST', // 请求方式POST/GET
    desc: '分类 -- 物品分类', // 接口描述
    path: '/citizens/ApiV2/Dictionary/getShareCat', // 接口地址
    mockPath: '',
    params: {
      houseId: ''
    }
  },
  {
    name: 'getShareList', // 接口名称
    method: 'POST', // 请求方式POST/GET
    desc: '全部物品列表', // 接口描述
    path: '/citizens/ApiV2/Share/getShareList', // 接口地址
    mockPath: '',
    params: {
      pageSize: '',
      pageNoLL: '',
      houseId: '',
      catId: '',
      topicId: '',
      type: '',
      hot: '',
      userId: '',
      districtId: ''
    }
  },
  {
    name: 'addShare',
    method: 'POST',
    desc: '物品编辑 -- 发布 +编辑 + 删除+上下架',
    path: '/citizens/ApiV2/Share/addShare',
    mockPath: '',
    params: {
      log_verify_code: '',
      action: 1,
      catId: '', // 分类id
      title: '', // 标题
      description: '', //物品描述
      picture: '', //图片路径
      addressId: '', //地址id
      startAt: '', //开始时间
      deadlineAt: '', //结束时间
      sharePoints: '', //物品积分值
      inventory: '', // 库存
      deposit: '', //押金 需要归还的物品需支付押金
      isNeedReturn: '1', //是否需要归还
      districtId: '' //小区id
    }
  },
  {
    name: 'getShareDetail', // 接口名称
    method: 'POST', // 请求方式POST/GET
    desc: '详情 -- 物品详情', // 接口描述
    path: '/citizens/ApiV2/Share/getShareDetail', // 接口地址
    mockPath: '',
    params: {
      log_verify_code: '',
      shareId: '',
      action: ''
    }
  },
  {
    name: 'addShareAnswer', // 接口名称
    method: 'POST', // 请求方式POST/GET
    desc: '留言 -- 物品详情页留言', // 接口描述
    path: '/citizens/ApiV2/Share/addShareAnswer', // 接口地址
    mockPath: '',
    params: {
      log_verify_code: '',
      shareId: '',
      answer: ''
    }
  },
  {
    name: 'voteShare', // 接口名称
    method: 'POST', // 请求方式POST/GET
    desc: '点赞 -- 物品点赞', // 接口描述
    path: '/citizens/ApiV2/Share/voteShare', // 接口地址
    mockPath: '',
    params: {
      log_verify_code: '',
      shareId: '',
      vote: ''
    }
  },
  {
    name: 'favoriteShare', // 接口名称
    method: 'POST', // 请求方式POST/GET
    desc: '收藏 -- 物品收藏', // 接口描述
    path: '/citizens/ApiV2/Share/favoriteShare', // 接口地址
    mockPath: '',
    params: {
      log_verify_code: '',
      shareId: '',
      favorite: ''
    }
  },
  {
    name: 'reportShare', // 接口名称
    method: 'POST', // 请求方式POST/GET
    desc: '物品举报', // 接口描述
    path: '/citizens/ApiV2/Share/reportShare', // 接口地址
    mockPath: '',
    params: {
      log_verify_code: '',
      shareId: '',
      description: ''
    }
  },
  {
    name: 'getOrderDetail',
    method: 'POST', // 请求方式POST/GET
    desc: '订单 -- 获取订单详细信息', // 接口描述
    path: '/citizens/ApiV2/Share/getOrderDetail',
    params: {
      log_verify_code: '',
      orderId: ''
    }
  },
  {
    name: 'createOrder',
    method: 'POST', // 请求方式POST/GET
    desc: '订单 -- 下单', // 接口描述
    path: '/citizens/ApiV2/Share/createOrder',
    params: {
      log_verify_code: '',
      shareId: '',
      orderId: '',
      addressId: '',
      orderNum: '',
      orderSharePoints: '',
      orderIsNeedReturn: '',
      orderDeposit: ''
    }
  }
]
